package com.jr.dao.impl;

import com.jr.dao.IProjectDao;
import com.jr.pojo.Project;
import com.jr.util.DBHelper;

import java.util.ArrayList;

public class ProjectDaoImpl implements IProjectDao {

    DBHelper db=new DBHelper();


    @Override
    public ArrayList<Project> selectAll() {
        String sql ="select * from project";
        return db.dtQuery(sql,Project.class);
    }
}
